from django.conf.urls import patterns, url, include

from gerencia import views

urlpatterns = patterns('',
    url(r'^$',  views.IndexView.as_view(), name='index'),
    url(r'^listar/',  views.ListView.as_view(), name='list'),
    url(r'^delete/(?P<pk>\d+)/$', views.DeleteMoradorView.as_view(), name='delete',),
    url(r'^edit/(?P<pk>\d+)/$', views.UpdateMoradorView.as_view(), name='editar',),
    url(r'^new/$', views.CreateMoradorView.as_view(), name='novo',),
)